package cn.xawl.gulimall.product.feign;

import cn.xawl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author lh
 * @date 2020/08/15 13:42:14
 **/
@FeignClient("gulimall-ware")
public interface WareFeign {
    /**
     * 根据skuId查询sku的库存信息
     */
    @RequestMapping("/ware/waresku/hasstock")
    R hasStock(@RequestBody List<Long> skuIds);


}
